package com.letoy.edu.socket.model;



public class MyMessage {
    private MessageType messageType;
    private String content;
    private String sender;
    private String state;
    private String venuesId;
    private String venuesName;
    private String venuesStatus;


    /**
     * 三种状态
     */
    public enum MessageType{
        CHAT,
        JOIN,
        LEAVE
    }

    public String getVenuesId() {
        return venuesId;
    }

    public void setVenuesId(String venuesId) {
        this.venuesId = venuesId;
    }

    public String getVenuesStatus() {
        return venuesStatus;
    }

    public void setVenuesStatus(String venuesStatus) {
        this.venuesStatus = venuesStatus;
    }

    public String getVenuesName() {
        return venuesName;
    }

    public void setVenuesName(String venuesName) {
        this.venuesName = venuesName;
    }

    public MessageType getMessageType() {
        return messageType;
    }

    public void setMessageType(MessageType messageType) {
        this.messageType = messageType;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public void setSender(String sender) {
        this.sender = sender;
    }


    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getContent() {
        return content;
    }

    public String getSender() {
        return sender;
    }

    @Override
    public String toString() {
        return "MyMessage{" +
                "messageType=" + messageType +
                ", content='" + content + '\'' +
                ", sender='" + sender + '\'' +
                ", state='" + state + '\'' +
                ", venuesId='" + venuesId + '\'' +
                ", venuesName='" + venuesName + '\'' +
                ", venuesStatus='" + venuesStatus + '\'' +
                '}';
    }
}
